package planner.plan;

import java.util.ArrayList;

import planner.domain.Operator;


public class SubPlan {

	private ArrayList<Operator> operatorSequence;
	
	public SubPlan(Operator t, ArrayList<Operator> ts){
		operatorSequence = (ArrayList<Operator>)ts.clone();
		operatorSequence.add(0, t);
	}

	public ArrayList<Operator> getTransitionList() {
		return operatorSequence;
	}

	public int size() {
		return operatorSequence.size();
	}
	
}
